package com.fsai.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fsai.cms.base.BaseEntity;

/**
 * 传播平台对象 cms_spread
 * 
 * @author jaffe
 * @date 2021-03-11
 */
public class CmsSpread extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Long csId;

	/** 标题 */
	private String csTile;

	/** 图片 */
	private String csImg;

	/** 宣传语 */
	private String csDesc;

	/** 是否外链（0是 1否） */
	private String enableLink;

	/** 访问地址 */
	private String linkUrl;

	/** 排序 */
	private Integer sortIndex;

	/** 启用状态（0启用 1关闭） */
	private String status;

	public void setCsId(Long csId) {
		this.csId = csId;
	}

	public Long getCsId() {
		return csId;
	}

	public void setCsTile(String csTile) {
		this.csTile = csTile;
	}

	public String getCsTile() {
		return csTile;
	}

	public void setCsImg(String csImg) {
		this.csImg = csImg;
	}

	public String getCsImg() {
		return csImg;
	}

	public void setCsDesc(String csDesc) {
		this.csDesc = csDesc;
	}

	public String getCsDesc() {
		return csDesc;
	}

	public void setEnableLink(String enableLink) {
		this.enableLink = enableLink;
	}

	public String getEnableLink() {
		return enableLink;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	public String getLinkUrl() {
		return linkUrl;
	}

	public void setSortIndex(Integer sortIndex) {
		this.sortIndex = sortIndex;
	}

	public Integer getSortIndex() {
		return sortIndex;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("csId", getCsId())
				.append("csTile", getCsTile()).append("csImg", getCsImg()).append("csDesc", getCsDesc())
				.append("enableLink", getEnableLink()).append("linkUrl", getLinkUrl())
				.append("sortIndex", getSortIndex()).append("status", getStatus()).append("createBy", getCreateBy())
				.append("createTime", getCreateTime()).append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime()).append("remark", getRemark()).toString();
	}
}
